<?php
/*
 * estudo de padrões de projetos com php
 * author: fabricio s costa
 * version: 1.0
 * site: http://fabriciojf.com
 */
?>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title>JumboCms Administra&ccedil;&atilde;o</title>
        <link rel="shortcut icon" href="templates/themes/adm-default/images/favicon.ico" type="image/x-icon" />
        <link rel="stylesheet" href="templates/themes/adm-default/style.css" media="all" type="text/css" />
        <script type="text/javascript" src="templates/wysiwyg/tiny_mce.js"></script>
        <script type="text/javascript" src="templates/wysiwyg/tiny.js"></script>
        <script type="text/javascript" src="com/fabriciojf/include/md5.js"></script>
    </head>
    <body>
        <div id="header">
        </div>

        <div id="menu-superior">
            <span>JumboCms</span> - Sistema de Gerenciamento de Conte&uacute;do - <span>Cadastro de Post</span>
        </div>

        <div id="content-admin">&nbsp;
            <div id="bloco">

                <div class="alerta">{$mensagem}</div>
                <form action="do.php?action=UserSave" method="post" onsubmit="document.getElementById('psw').value = md5(document.getElementById('psw').value)">
                    <input type="hidden" value="{$no1}" name="no1"/>
                    <input type="hidden" value="{$no2}" name="no2"/>

                    <table>
                        <tr>
                            <th class="titulo" colspan="2">Cadastro de Usuario</th>
                        </tr>
                        <tr>
                            <th>Nick</th>
                            <td class="texto"><input type="text"  class="campo" name="nick" size="30" value="{$nick}"/></td>
                        </tr>
                        <tr>
                            <th>Senha</th>
                            <td class="texto"><input type="password"  class="campo" id="psw" name="senha" size="30"/></td>
                        </tr>
                        <tr>
                            <th>email</th>
                            <td class="texto"><input type="text"  class="campo" name="email" size="30" value="{$email}"/></td>
                        </tr>
                        <tr>
                            <th>Responda: {$validator}</th>
                            <td class="texto">
                                <input type="text" class="campo" name="resposta" size="15"/>
                                <input type="submit" class="input-button" name="redirect" value="Criar Usu&aacute;rio">
                            </td>
                        </tr>
                        <div class="clear"></div>
                    </table>
                </form>
                &nbsp;

            </div>
        </div>
        <div id="footer-content">
            <div id="bloco">
                <span>Recursos do Site</span>
                <ul>
                    <li><a href="do.php?action=Home">Home</a></li>
                    {section name=i loop=$menuon}
                    <li>{$menuon[i]}</li>
                    {/section}
                </ul>
            </div>
            <div id="bl2">
                <span>Links Internos</span>
                <ul>
                    <li><a href="#">Localizar no Site</a></li>
                    {section name=i loop=$menupage}
                    <li>{$menupage[i]}</li>
                    {/section}
                </ul>
            </div>
            <div id="bl2">
                <span>JumboCms</span>
                <ul>
                    <li><a href="http://fabriciojf.com">Suporte Jumbo</a></li>
                    <li><a href="mailto:fabriciojf@gmail.com">Entre em Contato</a></li>
                </ul>
                <span>Sobre o Autor</span>
                <ul>
                    <li><a href="http://fabriciojf.com">Sobre o Autor</a></li>
                </ul>
            </div>
            <div class="clear"></div>
        </div>
        <div id="fim-footer"></div>
        <div id="margin-bottom">
            <p>JumboCMS by Fabricio S Costa. Todos os Direitos Reservados. <br />
            Theme By <a href="http://fabriciojf.com">fabriciojf</a></p>
        </div>
    </body>
</html>
